package cartes;

import java.util.Comparator;

public class ComparateurCartesInverse implements Comparator<Carte>{
	public int compare(Carte c1, Carte c2) {
		if (c1 == null || c2 == null)
			throw new NullPointerException();
		
		return ((Carte)c2).compareTo((Carte)c1);
	}

}
